root=true

[*.{c,c++,cc,cginc,compute,cp,cpp,cu,cuh,cxx,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,mpp,proto,tpp,usf,ush}]
indent_style=tab
indent_size=tab
tab_width=4
charset=ks_c_5601-1987
[*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,jsproj,lsproj,njsproj,nuspec,proj,props,resw,resx,StyleCop,targets,tasks,vbproj,xaml,xamlx,xml,xoml,xsd}]
indent_style=space
indent_size=2
tab_width=2

[*]
trim_trailing_whitespace=true
insert_final_newline=true

# ReSharper inspection severities
resharper_cpp_clang_tidy_clang_diagnostic_deprecated_declarations_highlighting=hint
resharper_cpp_clang_tidy_clang_diagnostic_non_virtual_dtor_highlighting=error
resharper_cpp_clang_tidy_hicpp_avoid_goto_highlighting=none

# ReSharper properties
resharper_cpp_allow_far_alignment=true
resharper_cpp_indent_style=tab

[*.{c,c++,cc,cginc,compute,cp,cpp,cu,cuh,cxx,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,mpp,mq4,mq5,mqh,tpp,usf,ush}]
indent_style=tab
indent_size=tab
tab_width=4
